/* TestHeader.h
*  Created by Penrillian, Smartphone Software Innovators 
*  See http://www.penrillian.com
*/
#ifndef TESTHEADER_H
#define TESTHEADER_H
#include "TestSuite.h"

/* 

  Encapsulates all the tests. 
  
	Any member function starting 'test' is interpreted as a test to be executed.
	
	  The tests will be executed in the order they are in this file.
	  
		Note that the code for the individual tests may be in different CPP files.
		
*/

class CEncodingTest : public CxxTest::TestSuite
	{
public:
	CEncodingTest(const TDesC8& aSuiteName):CxxTest::TestSuite(aSuiteName){}

public:
	void testEncodeL();
	void testDecodeL();
	};

class CTypeTest : public CxxTest::TestSuite
	{
public:
	CTypeTest(const TDesC8& aSuiteName):CxxTest::TestSuite(aSuiteName){}

public:
	void testCIntL();
	void testCBooleanL();
	void testCDoubleL();
	void testCDateTimeL();
	void testCStringL();
	void testCBase64L();
	void testCArrayL();
	void testCStructL();
	};

class CParserTest : public CxxTest::TestSuite
	{
public:
	CParserTest(const TDesC8& aSuiteName):CxxTest::TestSuite(aSuiteName){}

	void testGoodResponseL();
	void testErrorResponseL();
	void testBadResponseL();
	void testNonXmlL();
	void testEmptyL();
	void testComplexResponseL();
	};
#endif // TESTHEADER_H
